package com.nari.ies.server.entity;

/**
 * 场站类型
 *
 * @author JK
 */
public class PlantType {

    /**
     * 所有类型
     */
    public static final int ALL = 1000;

    /**
     * 火
     */
    public static final int HEAT = 1001;
    /**
     * 水
     */
    public static final int HYDRO = 1002;

    /**
     * 风
     */
    public static final int WIND = 1004;
    /**
     * 风电场站表
     */
    public static final int WIND_PLANT_TABLE = 440;
    /**
     * 风电机组表
     */
    public static final int WIND_GENERATOR_TABLE = 441;
    /**
     * 字符串——风
     */
    public static final String WIND_STRING = "wind";

    /**
     * 光
     */
    public static final int PV = 1005;
    /**
     * 光伏
     */
    public static final int PV_PLANT_TABLE = 820;
    /**
     * 光伏逆变器表
     */
    public static final int PV_NBQ_TABLE = 821;
    /**
     * 光伏相变表
     */
    public static final int PV_XB_TABLE = 886;
    /**
     * 字符串——光
     */
    public static final String PV_STRING = "pv";

    public static boolean isWind(String type) {
        return WIND_STRING.equals(type);
    }

    public static boolean isPv(String type) {
        return PV_STRING.equals(type);
    }
}
